﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataCheckConfirmAudit.aspx.cs"
    Inherits="LosConn.Web.Data.DataCheckConfirmAudit" %>

<style type="text/css">
    .GetModal
    {
        width: 980px;
        margin-left: -480px;
    }
    .amount-word .label{
        color: #fff;
        padding-left: 3px;
    }
    .tab-content
    {
    	overflow:auto;
    	height:200px;
    }
</style>
<!-- 数据确认模态框 start -->
<form id="checkFormData" class="formModal" novalidate="novalidate">
<script type="text/javascript">
    //var html = 
    var sEee = tn.Base64.decode("<%=modelGuest.Guest_Case %>");
    $("#tab2").html(sEee);
</script>
<div class="modal-header">
    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">
        ×</button>
    <h3>
        数据确认</h3>
</div>
<div class="modal-body">
    <table class="table table-bordered table-striped table-hover">
        <tbody>
            <tr>
                <td>
                    <strong>姓名：</strong>
                    <%=modelGuest.Guest_Name %>
                </td>
                <td>
                    <strong>出生日期：</strong>
                    <%=String.IsNullOrEmpty(modelGuest.Guest_Birthday.ToString()) ? "" : Convert.ToDateTime(modelGuest.Guest_Birthday).ToString("yyyy-MM-dd") %>
                </td>
                <td>
                    <strong>性别：</strong>
                    <%=modelGuest.Guest_Sex %>
                </td>
            </tr>
            <tr>
                <td>
                    <strong>学校：</strong>
                    <%=modelGuest.Guest_School %>
                </td>
                <td>
                    <strong>班级：</strong>
                    <%=modelGuest.Guest_Class %>
                </td>
                <td>
                    <strong>住址：</strong>
                    <%=modelGuest.Guest_Address %>
                </td>
            </tr>
            <tr>
                <td>
                    <strong>联系电话：</strong>
                    <%=modelGuest.Guest_School %>
                </td>
                <td>
                    <strong>孩子出生时母亲年龄：</strong>
                    <%=modelGuest.Guest_MomAge %>
                </td>
                <td>
                    <strong>孩子出生体重：</strong>
                    <%=modelGuest.Guest_BirWeight %>
                </td>
            </tr>
        </tbody>
    </table>
    <div class="widget-box">
        <div class="widget-title">
            <ul class="nav nav-tabs">
                <li><a data-toggle="tab" href="#tab1">视力相关因素</a> </li>
                <li><a data-toggle="tab" href="#tab2">视力监测单</a> </li>
                <li class="active"><a data-toggle="tab" href="#tab3">审核信息</a> </li>
            </ul>
        </div>
        <div class="widget-content tab-content">
            <div id="tab1" class="tab-pane">
                <%=html%>
            </div>
            <div id="tab2" class="tab-pane">
                
                <%--<ul class="inline">
                    <li class="liList"><strong>手术史：</strong><%=modelCheck.Check_Surgery %></li>
                    <li class="liList"><strong>用药史：</strong><%=modelCheck.Check_Medication %></li>
                    <li class="liList"><strong>病史：</strong><%=modelCheck.Check_Disease %></li>
                    <li class="liList"><strong>眼病史：</strong><%=modelCheck.Check_Eye %></li>
                    <li class="liList"><strong>视力康复史：</strong><%=modelCheck.Check_Rehabilitation %></li>
                    <li class="liList"><strong>戴镜史：</strong><%=modelCheck.Check_Glasses %>
                        <strong><span class="muted">年</span></strong></li>
                    <li class="liList"><strong>初戴镜：</strong><%=modelCheck.Check_GlassesAfter %>
                        <strong><span class="muted">岁</span></strong></li>
                    <li class="liList"><strong>度数：</strong><%=modelCheck.Check_Degree %>
                        <strong><span class="muted">度</span></strong></li>
                    <li class="liList"><strong><span class="text-info">原镜数据，</span> R：</strong><%=modelCheck.Check_MirrorR %></li>
                    <li class="liList"><strong>L：</strong><%=modelCheck.Check_MirrorL %></li>
                    <li class="liList"><strong><span class="text-info">现戴镜度数，</span> R：</strong><%=modelCheck.Check_NowR %></li>
                    <li class="liList"><strong>L：</strong><%=modelCheck.Check_NowL %></li>
                    <li class="liList"><strong><span class="text-info">现戴镜矫正单眼1.0视力，</span> R：</strong><%=modelCheck.Check_OneR %></li>
                    <li class="liList"><strong>L：</strong><%=modelCheck.Check_OneL %></li>
                </ul>
                <h3 class="h5hr">
                    视网膜视力检查</h3>
                <ul class="inline">
                    <li class="liList"><strong><span class="text-info">裸眼视力，</span> R：</strong><%=modelRetinaCheck.RetinaCheck_EyeR %></li>
                    <li class="liList"><strong>L：</strong><%=modelRetinaCheck.RetinaCheck_Eye %></li>
                    <li class="liList"><strong>裸双眼视力：</strong><%=modelRetinaCheck.RetinaCheck_EyeR %></li>
                    <li class="liList"><strong><span class="text-info">斜视检查，</span> 内：</strong><%=modelRetinaCheck.RetinaCheck_StrabismusN%></li>
                    <li class="liList"><strong>外：</strong><%=modelRetinaCheck.RetinaCheck_StrabismusW%></li>
                    <li class="liList"><strong><span class="text-info">戴镜矫正最佳视力，</span> R：</strong><%=modelRetinaCheck.RetinaCheck_RedressR%></li>
                    <li class="liList"><strong>L：</strong><%=modelRetinaCheck.RetinaCheck_RedressL%></li>
                    <li class="liList"><strong>推断色感视力：</strong><%=modelRetinaCheck.RetinaCheck_Color%></li>
                    <li class="liList"><strong>调节幅度（≥18.5-0.3X年龄）：</strong><%=modelRetinaCheck.RetinaCheck_Color%></li>
                    <li class="liList"><strong>NRA（≥+2.00）/ PRA（≥-2.50）：</strong><%=modelRetinaCheck.RetinaCheck_NRA%>
                        /
                        <%=modelRetinaCheck.RetinaCheck_PRA%></li>
                    <li class="liList"><strong><span class="text-info">同视机检查，融合范围：破裂点/恢复点：</span> 内：</strong><%=modelRetinaCheck.RetinaCheck_BreakN%></li>
                    <li class="liList"><strong>外：</strong><%=modelRetinaCheck.RetinaCheck_BreakW%></li>
                    <li class="liList"><strong>同时视：</strong><%=modelRetinaCheck.RetinaCheck_Same%></li>
                    <li class="liList"><strong>融合视：</strong><%=modelRetinaCheck.RetinaCheck_Fuse%></li>
                    <li class="liList"><strong>立体视：</strong><%=modelRetinaCheck.RetinaCheck_Solid%></li>
                    <li class="liList"><strong><span class="text-info">瞳距，</span> 远用瞳距：</strong><%=modelRetinaCheck.RetinaCheck_Far%></li>
                    <li class="liList"><strong>近用瞳距：</strong><%=modelRetinaCheck.RetinaCheck_Nearly%></li>
                    <li class="liList"><strong>色淡检查：</strong><%=modelRetinaCheck.RetinaCheck_Sedan%></li>
                    <li class="liList">（
                        <%=modelRetinaCheck.RetinaCheck_Lighter%><strong>眼更淡：</strong>）</li>
                    <li class="liList"><strong><span class="text-info">电脑验光，</span> R：</strong><%=modelRetinaCheck.RetinaCheck_CompanyR%></li>
                    <li class="liList"><strong>L：</strong><%=modelRetinaCheck.RetinaCheck_CompanyL%></li>
                    <li class="liList"><strong>裂隙灯检查：</strong><%=modelRetinaCheck.RetinaCheck_Slit%></li>
                    <li class="liList"><strong><span class="text-info">角膜K值，</span> R：弧度</strong><%=modelRetinaCheck.RetinaCheck_DiopterUpR%></li>
                    <li class="liList"><strong>屈光度</strong><%=modelRetinaCheck.RetinaCheck_DiopterUpR%>
                        /
                        <%=modelRetinaCheck.RetinaCheck_DiopterDownR%></li>
                    <li class="liList"><strong>平均值</strong><%=modelRetinaCheck.RetinaCheck_AverageR%></li>
                    <li class="liList"><strong>散光值及轴位</strong><%=modelRetinaCheck.RetinaCheck_AstigmatismR%></li>
                    <li class="liList"><strong>L: 弧度</strong><%=modelRetinaCheck.RetinaCheck_RadianL%></li>
                    <li class="liList"><strong>屈光度</strong><%=modelRetinaCheck.RetinaCheck_DiopterUpL%>
                        /
                        <%=modelRetinaCheck.RetinaCheck_DiopterDownL%></li>
                    <li class="liList"><strong>平均值</strong><%=modelRetinaCheck.RetinaCheck_AverageL%></li>
                    <li class="liList"><strong>散光值及轴位</strong><%=modelRetinaCheck.RetinaCheck_AstigmatismL%></li>
                    <li class="liList"><strong><span class="text-info">A超值，</span> R：AC</strong><%=modelRetinaCheck.RetinaCheck_ACR%></li>
                    <li class="liList"><strong>L</strong><%=modelRetinaCheck.RetinaCheck_LR%></li>
                    <li class="liList"><strong>V</strong><%=modelRetinaCheck.RetinaCheck_VR%></li>
                    <li class="liList"><strong>AL</strong><%=modelRetinaCheck.RetinaCheck_ALR%></li>
                    <li class="liList"><strong>L: AC</strong><%=modelRetinaCheck.RetinaCheck_ACL%></li>
                    <li class="liList"><strong>L</strong><%=modelRetinaCheck.RetinaCheck_LL%></li>
                    <li class="liList"><strong>V</strong><%=modelRetinaCheck.RetinaCheck_VL%></li>
                    <li class="liList"><strong>AL</strong><%=modelRetinaCheck.RetinaCheck_ALL%></li>
                </ul>
                <h3 class="h5hr">
                    眼外肌集合视力检查</h3>
                <ul class="inline">
                    <li class="liList"><strong>集合过低：</strong><%=modelEyeCheck.EyeCheck_Low %></li>
                    <li class="liList"><strong>调节 ＞ 集合：</strong><%=modelEyeCheck.EyeCheck_Than %></li>
                    <li class="liList"><strong><span class="text-info">调节 ＝ 集合，</span> 裸眼视距 R</strong><%=modelEyeCheck.EyeCheck_NakedEyeR %></li>
                    <li class="liList"><strong>L</strong><%=modelEyeCheck.EyeCheck_NakedEyeL %></li>
                    <li class="liList"><strong>双眼裸视距</strong><%=modelEyeCheck.EyeCheck_NakedEye %></li>
                </ul>--%>
            </div>
            <div id="tab3" class="tab-pane active">
                <%if (!modelGuest.Guest_Stauts.Equals(100) && !modelGuest.Guest_Stauts.Equals(200))
                  { %>
                <p class="amount-word">
                    审核状态：<%=LosConn.Common.SystemHandler.GetGuestStauts(modelGuest.Guest_Stauts.ToString()) %></p>
                <p class="amount-word">
                    审核人：<%=modelGuest.Guest_AuditUserName%></p>
                <p class="amount-word">
                    审核时间：<%=Convert.ToDateTime(modelGuest.Guest_AuditDate).ToString("yyyy-MM-dd")%></p>
                <p class="amount-word">
                    审核备注：<%=modelGuest.Guest_AuditRemark%></p>
                <%}
                  else
                  { %>
                <p class="amount-word">
                    暂无审核信息！</p>
                <%} %>
            </div>
        </div>
    </div>
</div>
<div class="modal-footer">
    <button id="checkTrue" type="button" class="btn btn-success" data-loading-text="提交中..."
        autocomplete="off">
        <i class="icon-ok icon-white"></i> 确认
    </button>
</div>
</form>
<!-- 数据确认模态框 end -->
<script src="/Scripts/Data/DataCheckConfirmAudit.js"></script>
